#ifndef _MY_DAEMON_H_
#define _MY_DAEMON_H_

#define MY_DAEMON_PORT					6683

#define MY_DAEMON_MAGIC					0x21753846

#define MY_DAEMON_PROCTYPE_WEBS			0
#define MY_DAEMON_PROCTYPE_PPPD			1
#define MY_DAEMON_PROCTYPE_UDHCPC		2
#define MY_DAEMON_PROCTYPE_DNSUPDATE	3
#define MY_DAEMON_PROCTYPE_WIFI			4
#define MY_DAEMON_PROCTYPE_NDISUPDATE	5
#define MY_DAEMON_PROCTYPE_ETH0			6
#define MY_DAEMON_SYS_CMD				7
#define MY_DAEMON_NET_IFCONFIG			8
#define MY_DAEMON_CHANGE_MAC_ETH0		9
#define MY_DAEMON_PROCTYPE_ROUTEUPDATE	10
#define MY_DAEMON_PROCTYPE_UDHCPD		11
#define MY_DAEMON_PROCTYPE_WIFIAP		12


#define MY_DAEMON_OPTYPE_START			0
#define MY_DAEMON_OPTYPE_STOP			1
#define MY_DAEMON_OPTYPE_RESTART		2
#define MY_DAEMON_OPTYPE_CONNECT		3

typedef struct
{
	int  magic_no;
	int  proc_type;
	int  op_type;
	char arg1[64];
	char arg2[64];
	char arg3[64];
	char arg4[64];
	char arg5[64];
	char arg6[64];
}my_daemon_param;

#endif
